		.text
		.globl	main
main:
		subu	$sp,$sp,64
		sw		$ra,56($sp)
		sw		$fp,52($sp)
		sw		$gp,48($sp)
		move	$fp,$sp
		
		li		$v0,4
		la		$a0,first
		syscall
		
		li 		$v0,5			#Lee primer numero
		syscall
		move 	$t0,$v0
		
		li		$v0,4
		la		$a0,second
		syscall
		
		li 		$v0,5			#Lee segundo numero
		syscall
		move 	$t1,$v0
		
		addu	$t2,$t0,$t1
		
		li		$v0,4
		la		$a0,result
		syscall
		
		li      $v0,1
        move    $a0,$t2
        syscall
		
		move	$sp,$fp
		lw		$ra,56($sp)
		lw		$fp,52($sp)
		addu	$sp,$sp,64
		j		$ra
##########################################		
		.data

result:	.asciiz "A+B="
first:	.asciiz "A="
second: .asciiz "B="